<?php include ('classes/page.class1.php'); include ('functions/le-format.php'); include ('functions/convert-characters.php'); $testcategory = new Page; $testcategory->Title = "test category"; $testcategory->MetaDescription = "ddd"; $testcategory->MetaKeywords = "dddd"; $testcategory->ThisPage = "testcategory"; $testcategory->SetContent("categories/" .$cleanfiletitle); $testcategory->Template(); ?>